package com.qf.client;

import com.qf.Resp.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @author H
 * @create 2020-11-03 11:01
 * @strive To be whoever you want to be.
 * @Description:
 */
@Component
//@FeignClient(serviceId = "credit-loanapplication")
@FeignClient(value = "credit-loanapplication")
public interface MessageClient {
    @RequestMapping(value="/selectAll",method = RequestMethod.POST)
    public BaseResp selectAll(@RequestBody Map map);
}
